package com.ruoyi.home.domain;

import java.util.Objects;

/**
 * @author 梁国瑞
 * @version 1.0
 */
public class EmployeeNumVo {
    //在职员工数量
    private Integer onJobNum;
    //待入职员工数量
    private Integer waitJobNum;
    //试用期员工数量
    private Integer probationNum;
    //正式员工数量
    private Integer formalNum;
    //待离职员工数量
    private Integer waitLeaveNum;
    //已离职员工数量
    private Integer leaveNum;
    //退休员工数量
    private Integer retiredNum;

    public Integer getOnJobNum() {
        return onJobNum;
    }

    public void setOnJobNum(Integer onJobNum) {
        this.onJobNum = onJobNum;
    }

    public Integer getWaitJobNum() {
        return waitJobNum;
    }

    public void setWaitJobNum(Integer waitJobNum) {
        this.waitJobNum = waitJobNum;
    }

    public Integer getProbationNum() {
        return probationNum;
    }

    public void setProbationNum(Integer probationNum) {
        this.probationNum = probationNum;
    }

    public Integer getFormalNum() {
        return formalNum;
    }

    public void setFormalNum(Integer formalNum) {
        this.formalNum = formalNum;
    }

    public Integer getWaitLeaveNum() {
        return waitLeaveNum;
    }

    public void setWaitLeaveNum(Integer waitLeaveNum) {
        this.waitLeaveNum = waitLeaveNum;
    }

    public Integer getLeaveNum() {
        return leaveNum;
    }

    public void setLeaveNum(Integer leaveNum) {
        this.leaveNum = leaveNum;
    }

    public Integer getRetiredNum() {
        return retiredNum;
    }

    public void setRetiredNum(Integer retiredNum) {
        this.retiredNum = retiredNum;
    }

    @Override
    public boolean equals(Object o) {
        if (o == null || getClass() != o.getClass()) return false;
        EmployeeNumVo that = (EmployeeNumVo) o;
        return Objects.equals(onJobNum, that.onJobNum) && Objects.equals(waitJobNum, that.waitJobNum) && Objects.equals(probationNum, that.probationNum) && Objects.equals(formalNum, that.formalNum) && Objects.equals(waitLeaveNum, that.waitLeaveNum) && Objects.equals(leaveNum, that.leaveNum) && Objects.equals(retiredNum, that.retiredNum);
    }

    @Override
    public int hashCode() {
        return Objects.hash(onJobNum, waitJobNum, probationNum, formalNum, waitLeaveNum, leaveNum, retiredNum);
    }
}
